iShell Help
Tribeworks > iShell > Help >
  State
   
The State of an element consists of 4 separate attributes. All Model elements contain a State.

Options

  • Enabled: Only enabled elements can interact with the mouse. Mouse events are only sent to the front most enabled and active element with a hot region that is exactly underneath the mouse location. The default Hot Region is the entire area of the element and this region can be customized with the Hot Region tools. Only mouse events (including Hot Panorama and Hot Text) are affected by the enabled attribute. The Enable command can change this attribute during runtime. The enabled attribute has no effect on elements in the Layout window - only during runtime. Tip: enabled elements will act like they are disabled if the hot region of another element is layered in front of it and intercepting the mouse events.
  • Shown: Elements that are not shown are not drawn to the Layout or Runtime window and all of their contents become inactive. Inactive elements are not drawn and do not get mouse events. The Show command can change this attribute during runtime. The Mask and UnMask Selection menu commands can override the Shown attribute in the Layout window - but have no effect during runtime. Tip: Hiding a container effectively hides and disables all the contents. This is very useful for groups of buttons, menus, etc.
  • Clipped: If an element is not clipped, then the entire element and all of its active contents are drawn. When an element is clipped, only the portion of the element and its active contents that appear in the Hot Region are drawn.
  • Cursor: This is the mouse cursor that will be used when the mouse is in this enabled element's Hot Region. When None is selected, the In cursor set by the most recent Set Cursors command or else the default Arrow cursor is used.